<div class="box">  <!-- Box Head -->
    <div class="box-head">
        <h2 class="left">Current Aadminstrators</h2>

    </div>
    <!-- End Box Head -->

    <!-- Table -->
    <div class="table">
        <table cellspacing="0" cellpadding="0" border="0" width="100%">
            <tbody>
                <tr>

                    <th width="13"><input type="checkbox" class="checkbox"></th>
                    <th>Name</th>
                    <th>Username</th>
                    <th>Registration Date</th>
                    <th width="110" class="ac">User &nbsp;Control</th>
                </tr>
                <?php
                include "actions/db_connect.php";
                $find = mysql_query("select * from `admins`");
                if ( mysql_numrows($find) > 0) {

                    while($display = mysql_fetch_assoc($find) ) {

                        //echo "<pre>";

                        //print_r($display);

                        //echo "</pre>";
                        ?>


                <tr class="odd">
                    <td><input type="checkbox" class="checkbox"></td>
                    <td><h3><a href="admin.php?page=admin_detail&admin_id=<?php echo $display['id'];?>"><?php echo $display['name'];?></a></h3></td>
                    <td><?php echo $display['username'];?></td>
                    <td><?php echo $display['reg_on'];?></td>
                    <td><a class="ico del" href="actions/admin_deleter.php?admin_id=<?php echo $display['id'];?>">Delete</a>
                        &nbsp;&nbsp;&nbsp;&nbsp;<a href="admin.php?page=admin_edit&admin_id=<?php echo $display['id'];?>">Edit</a></td>

                </tr>


                        <?php
                    }
                }
                ?>
            </tbody></table>


    </div>


</div>
<!-- Table -->
